package com.qf.smsplatform.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * projectName: sms-platform
 *  //@EnableDiscoveryClient   注册到注册中心，可以是Eureka，Nacos，Zookeeper，Redis，Console…………
 *  //@EnableEurekaClient     注册中心必须是Eureka
 *
 * @author: 黄睿武
 * time: 2021/8/9 19:45
 * description:配置中心启动类
 */

@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }
}
